package com.mycompany.mvc.utils;

import java.util.List;
import java.util.Map;

/**
 * @author Jintao_Ma
 * @time 2016年7月23日15:09:24
 * @variable:
 * success:返回状态
 * 	true：成功；false：失败
 * code:返回代号
 * 	1000 操作成功
 * 	2000 操作失败
 * 	3000 参数错误
 * 	msg:返回信息
 * 	Map
 *  mapList：返回数据List<Map>
 *  object
 * @description:
 * 返回消息基类
 */
public class BaseResult {
	
	public boolean success;
	public String code;
	public String msg;

	public Map<String, Object> Map;
	public List<Map<String,Object>> mapList;
	public Object object;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Map<String, Object> getMap() {
		return Map;
	}

	public void setMap(Map<String, Object> map) {
		Map = map;
	}

	public List<java.util.Map<String, Object>> getMapList() {
		return mapList;
	}

	public void setMapList(List<java.util.Map<String, Object>> mapList) {
		this.mapList = mapList;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

}
